package container

type HasContainerParam struct {
	ContainerIdOrName string `json:"containerIdOrName"`
}

func NewHasContainerParam() HasContainerParam {
	return HasContainerParam{
		ContainerIdOrName: "",
	}
}

func AssembleHasContainerParam(containerIdOrName string) HasContainerParam {
	return HasContainerParam{
		ContainerIdOrName: containerIdOrName,
	}
}

func (p *HasContainerParam) GetContainerIdOrName() string {
	return p.ContainerIdOrName
}
func (p *HasContainerParam) SetContainerIdOrName(containerIdOrName string) {
	p.ContainerIdOrName = containerIdOrName
}
